<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.small{
				width: 100px;
				height: 100px;
				background-color: cornflowerblue;
			}
			.bix{
				width: 200px;
				height: 200px;
				background-color: black;
			}
		</style>
		<script src="common/js/jquery.js" type="text/javascript"></script>
		<script type="text/javascript">
		/*	$(function(){
			$("#btn1").click(function(){
				$("#box1").css("background-color","blueviolet");
			})
			})*/
			$(function(){
				$("#btn1").click(function(){
					$("#box1").removeClass("small").addClass("bix");
				});
			});
		</script>
	</head>
	<body>
		<input id="btn1" type="button" value="按钮" />
		<!--<div id="box1" style="width: 100px; height: 100px; background-color: red;"></div>-->
		<div id="box1" class="small"></div>
	</body>
</html>
